--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit d2f5ef1ae15bac2f48a85443351f1607033964fd
Parents : ccec0af
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-03T20:54:00-06:00
fix(App.vue): update call overlay conditions and improve window opening logic
Changes
Diff
diff --git a/meshchatx/src/frontend/components/App.vue b/meshchatx/src/frontend/components/App.vue
index e174a48f..31f11fd0 100644
--- a/meshchatx/src/frontend/components/App.vue
+++ b/meshchatx/src/frontend/components/App.vue
@@ -433,8 +433,9 @@
<CallOverlay
v-if="
(activeCall || isCallEnded || wasDeclined || initiationStatus) &&
- ($route.name !== 'call' || activeCallTab !== 'phone') &&
- (!config?.desktop_open_calls_in_separate_window || !ElectronUtils.isElectron() || $route.meta.isPopout)
+ !$route.meta.isPopout &&
+ (!['call', 'call-popout'].includes($route.name) || activeCallTab !== 'phone') &&
+ (!config?.desktop_open_calls_in_separate_window || !ElectronUtils.isElectron())
"
:active-call="activeCall || lastCall"
:is-ended="isCallEnded"
@@ -1026,7 +1027,7 @@ export default {
) {
if (!this.isCallWindowOpen && !this.$route.meta.isPopout) {
this.isCallWindowOpen = true;
- window.open("/call.html", "_blank", "width=600,height=800");
+ window.open("/call.html", "MeshChatXCallWindow", "width=600,height=800");
}
} else {
this.isCallWindowOpen = false;
@@ -1081,6 +1082,9 @@ export default {
if (oldCall != null && this.activeCall == null) {
this.lastCall = oldCall;
+ // Trigger history refresh
+ GlobalEmitter.emit("telephone-history-updated");
+
if (this.wasDeclined) {
// Already set by hangupCall
} else {
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────